﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPageTra.master" AutoEventWireup="true"
    CodeFile="TraAddbid.aspx.cs" Inherits="Agency_TraAddbid" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script language="javascript" type="text/javascript"></script>

    <script language="vbscript" src="../Common/yz.vbs" type="text/vbscript"></script>

    <table id="tabData" border="1" width="98%" language="javascript">
        <tr>
            <td align="right" style="width: 278px; text-align: left;">
                第一步 填写要添加的流水号：</td>
            <td colspan="3">
                <asp:TextBox ID="TextBox1" runat="server" InvertedComma="流水号" NumericOnly="流水号" Width="159px"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="width: 278px; text-align: left">
                第二步 查看此流水号是否已在中标项目中：</td>
            <td colspan="3">
                <asp:Button ID="Button2" runat="server" CssClass="button_bg" OnClientClick="javascript:return CheckForm()"
                    Text="查 询" Width="60px" OnClick="Button2_Click" />（如是自行采购,投标人不同可已继续添加）<asp:Button ID="Button4" runat="server" CssClass="button_bg" OnClientClick="javascript:return CheckForm()"
                    Text="查看投标" Width="60px"   Visible="False" OnClick="Button4_Click1" /></td>
        </tr>
        <tr>
            <td align="right" style="width: 278px; text-align: left">
                第三步 在选择项目：</td>
            <td colspan="3">
                &nbsp;<asp:DropDownList ID="listProject" runat="server" Width="345px">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right" style="width: 278px; text-align: left">
                第四步 导入到该中标项目中：</td>
            <td colspan="3">
                <asp:Button ID="Button3" runat="server" CssClass="button_bg" OnClientClick="javascript:return confirm('确定加到上面的项目吗？')"
                    Text="导 入" Width="60px" OnClick="Button3_Click" /></td>
        </tr>
        <tr>
            <td align="right" style="width: 278px; text-align: left">
                <asp:Label ID="Label2" runat="server" Text="第五步 修改已在项目中药品的项目号：" Visible="False"></asp:Label></td>
            <td colspan="3">
                <asp:Button ID="Button1" runat="server" CssClass="button_bg" OnClientClick="javascript:return CheckForm()"
                    Text="修改" Width="60px" Visible="False" /></td>
        </tr>
    </table>
    <asp:Label ID="Label1" runat="server" Visible="False">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false"  >
            <Columns>
                <asp:BoundField DataField="projectid" HeaderText="所在项目" />
                <asp:BoundField DataField="goodsid" HeaderText="流水号" />
                <asp:BoundField DataField="productname" HeaderText="通用名" />
                <asp:BoundField DataField="medicinemodel" HeaderText="剂型" />
                <asp:BoundField DataField="outlookc" HeaderText="规格" />
                <asp:BoundField DataField="unit" HeaderText="单位" />
                <asp:BoundField DataField="factor" HeaderText="转换系数" />
                <asp:BoundField DataField="companyname_sc" HeaderText="生产企业" />
                <asp:BoundField DataField="companyname_tb" HeaderText="投标企业" />
                <asp:BoundField DataField="companyname_ps" HeaderText="配送企业" />
                <asp:BoundField DataField="bidprice" HeaderText="挂网价" />
                <asp:BoundField DataField="RetailPrice" HeaderText="最高售价" />
                <asp:BoundField DataField="isuse" HeaderText="交易状态" />
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                                    <input name="chk" type="checkbox" value='<%# DataBinder.Eval(Container.DataItem, "bidid")%>'>
                          
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </asp:Label>
    <asp:Label ID="Label3" runat="server" Text="Label">
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    
    <h5 align=center style="color:Blue">批量导入自行采购</h5>
    
       <table id="Table1" border="1" width="98%" language="javascript">
        <tr>
            <td align="right" style="width: 278px; text-align: left;">
                第一步 填写要添加的投标企业编号：</td>
            <td colspan="3">
                <asp:TextBox ID="TextBox2" runat="server" InvertedComma="流水号" NumericOnly="流水号" Width="159px"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" style="width: 278px; text-align: left">
                第二步 查看此投标企业是否已在中标项目中：</td>
            <td colspan="3">
                <asp:Button ID="Button5" runat="server" CssClass="button_bg" OnClientClick="javascript:return CheckForm()"
                    Text="查 询" Width="60px" OnClick="ButtonQuery_Click" />（如是自行采购,投标人不同可已继续添加）<asp:Button ID="Button6" runat="server" CssClass="button_bg" OnClientClick="javascript:return CheckForm()"
                    Text="查看投标" Width="60px"   Visible="False" OnClick="Button4_Click1" /></td>
        </tr>
        
        <tr>
            <td align="right" style="width: 278px; text-align: left">
                第三步 导入到该中标项目中：</td>
            <td colspan="3">
                <asp:Button ID="Button7" runat="server" CssClass="button_bg" OnClientClick="javascript:return confirm('确定加到上面的项目吗？')"
                    Text="导 入" Width="60px" Visible=false OnClick="daoru_Click" /></td>
        </tr>
        
    </table>
        <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="false"  >
            <Columns>
                
                <asp:BoundField DataField="goodsid" HeaderText="流水号" />
                <asp:BoundField DataField="productname" HeaderText="通用名" />
                <asp:BoundField DataField="medicinemodel" HeaderText="剂型" />
                <asp:BoundField DataField="outlookc" HeaderText="规格" />
                <asp:BoundField DataField="unit" HeaderText="单位" />
                <asp:BoundField DataField="factor" HeaderText="转换系数" />
                <asp:BoundField DataField="companyname_sc" HeaderText="生产企业" />
                <asp:BoundField DataField="companyname_tb" HeaderText="投标企业" />
               
                
                <asp:BoundField DataField="RetailPrice" HeaderText="最高售价" />
                
               
            </Columns>
        </asp:GridView>
    </asp:Label>
</asp:Content>
